package com.douxg.fastCoding;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * @Description 启动入口
 * @Auther douxg
 * @Date 2020/4/16 14:26
 */
@SpringBootApplication
@Slf4j
@MapperScan(basePackages = {"com.douxg.fastCoding.enjoy.mapper", "com.douxg.fastCoding.web.mapper"})
@Import(cn.hutool.extra.spring.SpringUtil.class)
public class FastCodingStart {

    public static void main(String[] args) {
        SpringApplication.run(FastCodingStart.class, args);
        log.info("server started !!!");
    }

}
